setItem({
  token: window.location.hash.substr('#access_token='.length)
});

// Immediately poll to show checkins.
chrome.extension.getBackgroundPage().prePoll();

window.close();